private void contextMenuStrip1_Opening(object sender, CancelEventArgs e) { //clear any old suggestions, leaving the first two menu items which we don't want to clear if (contextMenuStrip1.Items.Count > 2) while (contextMenuStrip1.Items.Count > 2) contextMenuStrip1.Items.RemoveAt(2); //grab the suggestions from the spell checker ToolStripItem[] suggestions = rapidSpellAsYouType1.GetSuggestionsToolStripItems(); //if there are suggestions (ie if the click was on an error), show them if (suggestions != null) { contextMenuStrip1.Items.Add(new ToolStripSeparator()); contextMenuStrip1.Items.AddRange(suggestions); } }